package com.whfc.ms.api.emp.service.impl;

import com.whfc.common.result.PageData;
import com.whfc.emp.dto.AppEmpRiskDTO;
import com.whfc.emp.service.AppEmpRiskService;
import com.whfc.ms.api.emp.service.MsAppEmpRiskService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @author qzexing
 * @version 1.0
 * @date 2021/9/29 17:23
 */
@Service
public class MsAppEmpRiskServiceImpl implements MsAppEmpRiskService {

    @DubboReference(interfaceClass = AppEmpRiskService.class,version = "1.0.0")
    private AppEmpRiskService appEmpRiskService;

    @Override
    public PageData<AppEmpRiskDTO> list(Integer empId, Integer pageNum, Integer pageSize) {
        return appEmpRiskService.list(empId, pageNum, pageSize);
    }
}
